package com.rran.study.designpattern.behavioral.mediator.colleague;

import com.rran.study.designpattern.behavioral.mediator.mediator.Mediator;
import lombok.Data;

/**
 * @author yy
 * @Type AbstractHourse.java
 * @Desc
 * @date 2020/7/23 17:02
 */
@Data
public abstract class AbstractHourse implements Hourse{

    private Mediator mediator;

    @Override
    public void setMediator(Mediator mediator) {
        this.mediator = mediator;
    }
}
